<link rel="stylesheet" type="text/css" href="__STATIC__/group/hyshow/hypicmsg.css">
			<!--
			<div class='ListMySorts'>
				<a href='#' class='fid0 ck'>全部分类</a>
				<a href='#' class='fid1 '>粤菜</a>
				<a href='#' class='fid2 '>湘菜</a>
			</div>
			-->

			<div class="cont">
			{qb:tag name="qun_pcindex_cms_model002" where="uid=$info.uid&myfid=$myfid" type="cms" mid="2" order="list" by="desc" rows="8"}
				<ul class='listmsg'>
					<ol><a href='{$rs.url}'><em>{$rs.create_time|format_time="d"}</em><span>{:get_status(format_time($rs.create_time,"n"),['','一','二','三','四','五','六','七','八','九','十','十一','十二'])}月</span></a>
					</ol>
					<li>
						<a href="{$rs.url}" target='_blank'>
						<div class='content'>
							<p>{$rs.title}</p>
						</div>
						<div class='listimgs'>
							{volist name="$rs.picurls" id="vs"}
							{if $i<11}
								<div><span><img src="{$vs.picurl}" onerror="this.src='__STATIC__/images/nopic.png'"/></span> </div>
							{/if}
							{/volist}
						</div>
						</a>
					</li>
					<!--<a href='../picmsg/bencandy.php?fid=1&id=2' class='more' target='_blank'></a>-->
				</ul>
				{/qb:tag}
			</div>


<script type="text/javascript">
var page=1;
//显示更多
function showMoreContent(){	
	page++;
	$.get('{qb:url name="qun_pcindex_cms_model002"/}' + page + "&myfid={$myfid}",function(res){
		if(res.code==0){
			if(res.data==''){
				layer.msg("已经显示完了！",{time:500});
			}else{
				$('.cont').append(res.data);
				scroll_get = true;
			}
		}else{
			layer.msg(res.msg,{time:2500});
		}
	});
}

//滚动显示更多
var scroll_get = true;	//做个标志,不要反反复复的加载
$(document).ready(function () {
	$(window).scroll(function () {
		if (scroll_get==true &&  (400 + $(window).scrollTop())>($(document).height() - $(window).height())) {
			scroll_get = false;			
			layer.msg('内容加截中,请稍候',{time:1500});
			showMoreContent();
		}
	});
});
</script>
